package com.GUI.client;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.MenuBar;
import com.google.gwt.user.client.ui.MenuItem;
import com.google.gwt.user.client.ui.MenuItemSeparator;
import com.google.gwt.user.client.Command;

public class Menu extends Composite {
	private MenuItem mntmNewItem_2;
	private MenuItem mntmNewItem;
	public Menu() {
		
		VerticalPanel verticalPanel = new VerticalPanel();
		initWidget(verticalPanel);
		verticalPanel.setSize("640px", "120px");
		
		MenuBar menuBar = new MenuBar(false);
		verticalPanel.add(menuBar);
		menuBar.setHeight("20px");
		MenuBar menuBar_1 = new MenuBar(true);
		
		MenuItem mntmNewMenu = new MenuItem("File", false, menuBar_1);
		
		mntmNewItem = new MenuItem("Properties", false, new Command() {
			public void execute() {
			}
		});
		menuBar_1.addItem(mntmNewItem);
		
		mntmNewItem_2 = new MenuItem("Quit", false, (Command) null);
		menuBar_1.addItem(mntmNewItem_2);
		menuBar.addItem(mntmNewMenu);
		
		MenuItemSeparator separator = new MenuItemSeparator();
		menuBar.addSeparator(separator);
		MenuBar menuBar_2 = new MenuBar(true);
		
		MenuItem mntmNewMenu_1 = new MenuItem("Window", false, menuBar_2);
		
		MenuItem mntmViewData = new MenuItem("View Data", false, (Command) null);
		menuBar_2.addItem(mntmViewData);
		
		MenuItem mntmControls = new MenuItem("Controls", false, (Command) null);
		menuBar_2.addItem(mntmControls);
		menuBar.addItem(mntmNewMenu_1);
		
		MenuItemSeparator separator_1 = new MenuItemSeparator();
		menuBar.addSeparator(separator_1);
		MenuBar menuBar_3 = new MenuBar(true);
		
		MenuItem mntmNewMenu_2 = new MenuItem("Help", false, menuBar_3);
		
		MenuItem mntmHelp = new MenuItem("Help", false, (Command) null);
		menuBar_3.addItem(mntmHelp);
		
		MenuItem mntmAbout = new MenuItem("About", false, (Command) null);
		menuBar_3.addItem(mntmAbout);
		menuBar.addItem(mntmNewMenu_2);
	}

}
